﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace VisionApp.Entity
{
    public class ImageContainerBase
    {
        public byte[] ImGray;
        public byte[] ImR, ImG, ImB;
        public float[] ImDepth;
        public float[] ImX, ImY, ImZ;
        public float[] ImNormX, ImNormY, ImNormZ;
        public int TextWidth, TextHeight;
        public int DepthWidth, DepthHeight;
        public bool IsRGBEnabled;
        public bool IsDepthEnabled;
        public bool IsXYZEnabled;
        public bool IsNormEnabled;
        public ImagePosID ID;
    }
    public class HImageContainer : ImageContainerBase
    {
        public int ImgID { get; set; }
        public void Dispose()
        {
        }
    }
    public class UImage
    {
        public int CamID { get; set; }
        public int ImgID { get; set; }
        public HImageContainer ImCtnr { get; set; }
        public UImage(int camID, int imgID, HImageContainer img)
        {
            CamID = camID;
            ImgID = imgID;
            ImCtnr = img;
        }
    }


}
